﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DawnOfConquest
{
    class Pikeman : DawnOfConquest.Unit
    {
        public Pikeman(string faction)
        {
            this.faction = faction;
            strength = 5;
            dex = 5;
            stamina = 5;
            intel = 5;
            will = 5;
            actionPoints = 5;
            health = stamina * 5;
        }

        public int getDefense()
        {
            return dex + stamina / 2;
        }

        public int getAttack()
        {
            return dex + stamina / 2;
        }

        public int getDamage()
        {
            return strength * 3;
        }

        public int getHealth()
        {
            return health;
        }
    }
}
